//
//  FeaturedTwoAdvlist.m
//  TodatPlay
//
//  Created by dllo on 16/08/30
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "FeaturedTwoAdvlist.h"
#import "FeaturedTwoProjlist.h"

@implementation FeaturedTwoAdvlist

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"projlist"]) {
        NSMutableArray<FeaturedTwoProjlist *> *array = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            FeaturedTwoProjlist *projlist = [FeaturedTwoProjlist modelWithDic:dic];
            [array addObject:projlist];
        }
        self.projlist = array;
    }
}

@end
